﻿@model HomeDetailsViewModel

@{
    Layout = "~/Views/Shared/_Layout.cshtml";
    ViewBag.Title = "学生详情";
}



<div class="row col-sm-push-3">
    <div class="col-sm-8">
        <div class="card">
            <div class="card-header">
                <h1>@Model.PageTitle</h1>
            </div>

            <div class="card-body text-center">
                <img class="card-img-top" src="~/img/class.jpeg" alt="Alternate Text" />

                <div>学生ID : @Model.Student.Id</div>
                <div>姓名：@Model.Student.Name</div>
                <div>邮箱：@Model.Student.Email</div>
                <div>班级：@Model.Student.ClassName</div>
            </div>

            <div class="card-footer text-center">
                <a asp-controller="home" asp-action="index" class="btn btn-primary">返回</a>
                <a href="#" class="btn btn-success">编辑</a>
                <a href="#" class="btn btn-danger">删除</a>
            </div>

        </div>
    </div>
</div>



